<?php
	require "settings/config.php";
	require "layout.php";
	require "includes/sql_functions.php";
	require "includes/reg_functions.php";
	require "includes/session.php";
	
	render_header("Registration complete");

		echo "<br />\n";

	if($_POST['username'])
	{
		$res=oh_register_user($_POST['username'],$_POST['email'],$_POST['firstname'],$_POST['lastname'],0,0);
		echo $res;
	}	
	
	render_footer();
?>
